package com.xiaoshuidi.cloud.module.member.pojo.invite;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Leo.Li
 * @version generator
 * @description 邀请活动配置
 * @date 2023-05-19 17:20:47
 */
@Data
@TableName("member_invite_activity_log")
public class InviteActivityLogEntity extends TenantBaseDO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 邀请租客id
     */
    private Long accountId;
    /**
     * 被邀请手机号
     */
    private String invitePhone;
    /**
     * 被邀请租客id
     */
    private Long inviteAccountId;
    /**
     * 状态，0：失效，1：有效
     */
    private String status;
    /**
     * 邀请人奖励积分
     */
    private Integer rewardPoint;
    /**
     * 被邀请人奖励积分
     */
    private Integer invitePoint;
    /**
     * 邀请配置id
     */
    private Long configId;
}
